<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>统计工作量</title>
	
	<link rel="stylesheet" href="<%=basePath %>/jquery/themes/base/jquery.ui.all.css">
  	<link rel="stylesheet" href="<%=basePath %>/jquery/demos.css">
  	<script src="<%=basePath %>/jquery/jquery-1.4.2.js"></script>
  	
  	<script src="<%=basePath %>/jquery/ui/jquery.ui.core.js"></script>
	<script src="<%=basePath %>/jquery/ui/jquery.ui.widget.js"></script>
	
	 <script>
   
    
	$(function() {
		$("#begindate").datepicker();
		$("#enddate").datepicker();
		$("select option[value=<s:property value="operatorEmail"/>]").attr('selected','selected'); 
	});
	</script>
  </head>

  <body>
  
  <table width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr>
  		<td valign="top">
  			<jsp:include page="/background/operator/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr>
  		<td valign="top">
  			<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 		<tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">
    		
    		
    		
    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
		  	<jsp:include page="/background/operator/left.jsp"></jsp:include>
				 
				 
				
     	</td>
     	
     	
     	<td valign="top" >
     <table border="0" cellpadding="0" cellspacing="0" >
    	 <tr>
     		<td>
     	
     	</td>
     		</tr>
 <tr>
     		<td>
<form action="countflowcode.action" method="post" accept-charset="UTF-8" id="addaftersaleservice_warehouseForm" name="addaftersaleservice_warehouseForm"> 
				<s:token />
     <table border="0" cellpadding="0" cellspacing="0"  width="100%">
    	 <tr>
     		<td width="100%">
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>统计工作量
     				<input type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectoperatorlimitedAction_background.action?limitedCode=<s:property value="limitedcode"/>')"/>
     				
     			</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
 		<tr>
     		<td>
     			<FONT color="red"><s:property value="operationResult"/></FONT>
     			<s:fielderror id="errormessage" />
     			<br/>
     			
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff;" class="bottomline">
					<tr>
					
						<td width="100">操作员:</td>
						<td >
						
						
						<select id="operatorEmail" name="operatorEmail" >
							<s:iterator value="opoeratorList" id="opoeratorList">
								
								<option value="<s:property value="#opoeratorList.email_operator"/>"><s:property value="#opoeratorList.name_operator"/></option>
							</s:iterator>
							
					
							
							
						</select>
						
						</td>
						<td>
						开始日期:
						</td>
						<td>
							<input type="text" id="begindate" name="begindate" value="<s:property value="begindate"/>"/>
						</td>
						
						<td>
						结束日期:
						</td>
						<td>
							<input type="text" id="enddate" name="enddate" value="<s:property value="enddate"/>"/>
						</td>
						
						<td>
						日期单位:
						</td>
						<td>
							<select id="dateunit" name="dateunit">
							<option value="day">日</option>
							<option value="month">月</option>
							
						</select>
						</td>
					</tr>
					
					
				</table>
				

	</td>
     		</tr>
     		
     		<tr>
				<td>
				
				<button type="button" onclick="submit()">统计+-*/</button>
					
				</td>
     		</tr>
     		 <tr>
     		<td>
     			<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
		     		<tr>
		     			<td>统计工作量例表
		     				
		     				
		     			</td>
		     		</tr>
		     	</table>
     		</td>
     		</tr>
     		 <tr>
     		<td>
     		
     		<table width="100%" border="0" cellpadding="0" cellspacing="0" >
     		
     		<tr>
		     			<td>
		     				名称
		     				
		     			</td>
		     			<td>
		     				数量
		     				
		     			</td>
		     			<td>
		     				日期
		     				
		     			</td>
		     		</tr>
     		
     		<s:iterator id="recordlistList" value="recordlistList">
     		
     		
		     		<tr>
		     			<td>
		     				<s:property value="#recordlistList.cnname_recordlist"/>
		     				
		     			</td>
		     			<td>
		     				<s:property value="#recordlistList.intvalue_recordlist"/>
		     				
		     			</td>
		     			<td>
		     				<s:property value="#recordlistList.date_recordlist"/>
		     				
		     			</td>
		     		</tr>
		     		</s:iterator>
		     	</table>
     			
		
     	</td>
     	</tr>
     		
     		 <tr>
     		<td>
     			
		
     	</td>
     	</tr>
     	
     	
     	
     	</table>
     	</form>
	</td>
     		</tr>
     		 <tr>
     		<td>
     		
		
     	</td>
     	</tr>
     	
     	
     	
     	</table>
	</td>
</tr>

</table>
  		</td>
  	</tr>
  	<tr>
  		<td valign="bottom">
  			<jsp:include page="/background/operator/tail.jsp"></jsp:include>
  		
  		</td>
  	</tr>
  
  </table>
  </body>
  <script type="text/javascript">
 
  
  
  </script>
</html>
